﻿using System;
using System.Collections.Generic;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using InsuranceAdjuster.OccasionallyConnected.Messages;
using System.ComponentModel;

namespace InsuranceAdjuster.OccasionallyConnected.CacheMonitors
{
    public interface ICacheMonitor : INotifyPropertyChanged
    {
        Double ActivitySyncIntervalInSeconds { get; set; }
        Double ReferenceSyncIntervalInSeconds { get; set; }
        DateTime LastActivityUpdateTime { get; }
        DateTime LastReferenceUpdateTime { get; }
        Boolean IsRunning { get; }

        void Initialize(EntityManager manager);
        void SyncNow();
        void Start();
        void Stop();
    }
}
